<template>
  <div class="w-card">
    <div class="global-content">
      <div class="qa-title">
        <div class="user-title">
          <Avatar src="http://img.duoziwang.com/2018/05/201712310119033.jpg" />
          <div class="title-username">
            <h4>昵称</h4>
          </div>
        </div>
        <div>
          <span class="title-text">2023-10-23 09:29</span>
          <el-divider direction="vertical" />
          <span class="title-text">阅读：60</span>
        </div>
      </div>
      <el-divider />
      <div class="qa-body">
        <h2>问题标题</h2>
        <div class="question-content">
          <p>内容区</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import Avatar from '@/components/Avatar/index.vue'
</script>

<style lang="scss" scoped>
.qa-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  .user-title {
    display: flex;
    align-items: center;

    .title-username {
      margin: 0 10px;
      font-size: 16px;
    }
  }
  .title-text {
    color: rgba(0, 0, 0, 0.45);
  }
}
</style>
